package fun.sboy.headacheMemo.service;

import fun.sboy.headacheMemo.entry.TaskTodoProgress;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TaskTodoProgressService {

    void insertProgress(String taskId);

    /**
     * 直接修改
     * @param taskTodoProgress
     */
    void updateProgressByTaskId(TaskTodoProgress taskTodoProgress);

    /**
     * 连接拼接在后的方式
     * @param taskTodoProgress
     */
    void updateProgressByTaskIdJoin(TaskTodoProgress taskTodoProgress);

    TaskTodoProgress selectByTaskTodoId(String taskId);

    void deleteProgressByTaskId(String taskId);

}
